package com.hfut;

public class ThreadDemo {
	public static void main(String[] args) throws InterruptedException {
		Thread a = new Thread(new Thread1());
		a.start();
		for(int i = 0; i < 100; i++ ) {
			System.out.println("i的值为：" + i);
			Thread.sleep(100);
		}
	}
}
